package com.zbu.Integer;


import java.util.Objects;

public class StudentDemo {
    public static void main(String[] args) {
        Student stu1 = new Student("张三",18);
        Student stu2 = new Student("李四",24);
        Student stu3 = new Student("王五",25);

        Student[] stu = {stu1,stu2,stu3};

        System.out.println(Objects.equals(stu[0], stu[0]));
    }



}
